package cn.gzjp.modules.logis.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import cn.gzjp.common.persistence.Page;
import cn.gzjp.common.service.CrudService;
import cn.gzjp.modules.logis.entity.LogisBxDiscount;
import cn.gzjp.modules.logis.dao.LogisBxDiscountDao;

/**
 * 保险优惠政策Service
 * @author zengcp
 * @version 2018-05-01
 */
@Service
@Transactional(readOnly = true)
public class LogisBxDiscountService extends CrudService<LogisBxDiscountDao, LogisBxDiscount> {

	public LogisBxDiscount get(String id) {
		return super.get(id);
	}
	
	public List<LogisBxDiscount> findList(LogisBxDiscount logisBxDiscount) {
		return super.findList(logisBxDiscount);
	}
	
	public Page<LogisBxDiscount> findPage(Page<LogisBxDiscount> page, LogisBxDiscount logisBxDiscount) {
		return super.findPage(page, logisBxDiscount);
	}
	
	@Transactional(readOnly = false)
	public void save(LogisBxDiscount logisBxDiscount) {
		super.save(logisBxDiscount);
	}
	
	@Transactional(readOnly = false)
	public void delete(LogisBxDiscount logisBxDiscount) {
		super.deleteByLogic(logisBxDiscount);
	}
	
}